﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Entity.Baskets;

namespace Data.Api.Repositories
{
    public interface IBasketRepository
    {
        void AddNewOrder(Entity.Products.Product product, string username);
        IQueryable<Entity.Baskets.Basket> GetAllOrdersForUser(string username, State state);
        void DeleteOrderPosition(int IdOrderPosition);
        void DeleteBasket(int IdBasket);
        void SubmitOrder(string username);
        IQueryable<Entity.Baskets.Basket> GetAllOrders(State state);
        decimal GetPrice(string username);
    }
}
